const mysql = require('mysql')

// 设置数据库连接属性
const connection = mysql.createConnection({
  host: 'localhost',
  user: 'root',
  password: 'root',
  database: 'db_resume'
});
connection.connect();
// 将木块到
module.exports = connection;